5-E
Simple site for the info you need...
  • Add Local Admin
  • Backup Dogecoin Wallet
  • Batch Start Powershell
  • Copy A File(s) To All Users On A PC
  • CPU Load Test
  • Disable Users
  • Email Group Members
  • Email With Powershell
  • Exchange Total Size
  • Export to XLSX
  • Export User Cert
  • Get System Info
  • Import Active Directory Module
  • Last Login For All Computer
  • Last Login For All Users
  • Last Login For Select Users
  • List Domain controllers
  • List Groups (With Count) In Active Directory To TXT
  • List Groups (With Count) In Active Directory To XLSX
  • List Groups For A User(s)
  • List Groups In Active Directory to TXT
  • List Home Directory
  • List Members In A Group(s)
  • Password Generator
  • Ping Test
  • Printer Reset
  • Run A Process Every Few Minutes
  • Search For Files On All Local Drives
  • Show iSCSI Device And Disk Number
  • Uninstall Java

Expert User Cert With Private Key

This tool looks in your local PC cert store and exports the user cert with the privatekey and moves it to a network share.
CODE:
@ echo off 
:start 
echo checking for old files 
del "c:\%USERNAME%.pfx" /q 
cls 
echo checking for old files 
del "\\Server\Share\%USERNAME%.pfx" /q 
cls 
echo Please enter the information below 
set /P UserInfo=Lastname, Firstname: %=% 
set /P Pass=Enter a password: %=% 
certutil -user -privatekey -p %Pass% -t 1 -exportpfx "%UserInfo%" c:\%USERNAME%.pfx 
cls 
move /y "c:\%USERNAME%.pfx" "\\Server\Share\" 
del "c:\%USERNAME%.pfx" /q 
if exist "\\Server\Share\%USERNAME%.pfx" ( 
echo Success 
goto end 
) else ( 
echo ****************************** 
echo ***ERROR PROCESSING REQUEST*** 
echo ****************************** 
echo We were not able to process the request 
echo with the information given, please try again. 
pause 
goto start 
) 
:end 
exit 
Use at your own risk
Download: Export User Cert.zip

Tag(s): Batch Local PC Security


Could you spare a few coins?
Dogecoin - D838u1m9YRdzVVu8CZ1JsR78WHgQmUZSr8
Bitcoin - 13iKLoPXcWEYcGtqCi4UcjGQEs7r6M6LFc
Thank you
  • Home

  • Batch
  • Email
  • Exchange
  • How To
  • Local PC
  • Powershell
  • Security